<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title></title>
		<style>
			*{
				margin:0px;
				padding:0px;
			}
			.box{
				border:1px solid red;
				padding:10px;
				margin:50px;
				width:300px;
				height:300px;
			}
			.box a{
				display:block;
				width:100px;
				height:100px;
				background:pink;
				line-height:100px;
				color:white;
				text-align:center;
				text-decoration: none;
			}
			.box a:hover{
				background:aqua;
			}
			.box a:nth-of-type(2),.box a:nth-of-type(4){
				position:relative;
				top:-100px;
				left:200px;
			}
			.box a:nth-of-type(5){
				position:relative;
				top:-300px;
				left:100px;
			}
		</style>
	</head>

	<body>
		<div class="box">
			<a href="#">链接1</a>
			<a href="#">链接2</a>
			<a href="#">链接3</a>
			<a href="#">链接4</a>
			<a href="#">链接5</a>
		</div>
	</body>

</html>